//
// Created by DELL on 2021/3/21.
//
#include "uri.h"
#include <iostream>

int main(int argc,char**argv){
    sylar::Uri::ptr uri = sylar::Uri::Create("http://www.sylar.top/test/中文uri?id=100&name=sylar&&vv=中文#frg中文");
    std::cout << uri->toString() << std::endl;
    auto addr = uri->createAddress();
    std::cout << *addr << std::endl;
    return 0;
}
